package com.lsp.server.product.mapper;

import com.lsp.server.product.domain.po.ProductAttrValues;
import com.lsp.server.product.domain.vo.AttrVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @ClassName ValuesMapper
 * @Description 商品属性值持久层接口
 * @Author Mr Hao
 * @Date 2021/11/24 10:08
 */
@Mapper
public interface ValuesMapper {

    List<ProductAttrValues> getAll(Integer id);

    @Select("select * from product_attr_sku where aid = #{aid}")
    List<ProductAttrValues> queryAllData(Integer aid);
}
